package com.example.springBoot.dao;

import org.springframework.data.jpa.repository.JpaRepository;

import com.example.springBoot.domain.User;

public interface UserDao extends JpaRepository<User, Long> {

	User findByid(Long id);

	User findByUserNameAndPassWord(String username, String password);

	User findByUserName(String userName);

}
